package com.ocp.socket.common.enums;

/**
 * @Author : lichong
 * @description :
 * @Date Create in 11:35 2019/3/17
 * @Modified By :
 **/
public enum ResultStatusEnum {
    COMMON_SUCCESS(0,"成功","success"),
    COMMON_FAIL(1, "失败", "fail"),

    APP_LOGIN_ORTHER(10, "您的账号在另外的设备上登录", "Your account is logged in on other devices")
    ;

    ResultStatusEnum(int status, String msg, String msgEn) {
        this.status = status;
        this.msg = msg;
        this.msgEn = msgEn;
    }

    private int status;
    private String msg;
    private String msgEn;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getMsgEn() {
        return msgEn;
    }

    public void setMsgEn(String msgEn) {
        this.msgEn = msgEn;
    }}
